Optimal. Leaf size=72 \[ \frac{x (a d-b c (1-n)) \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^2 b n}+\frac{x (b c-a d)}{a b n \left (a+b x^n\right )} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0307196, antiderivative size = 72, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 17, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.118, Rules used = {385, 245} \[ \frac{x (a d-b c (1-n)) \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^2 b n}+\frac{x (b c-a d)}{a b n \left (a+b x^n\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 385
Rule 245
Rubi steps
\begin{align*} \int \frac{c+d x^n}{\left (a+b x^n\right )^2} \, dx &=\frac{(b c-a d) x}{a b n \left (a+b x^n\right )}+\frac{(a d-b c (1-n)) \int \frac{1}{a+b x^n} \, dx}{a b n}\\ &=\frac{(b c-a d) x}{a b n \left (a+b x^n\right )}+\frac{(a d-b c (1-n)) x \, _2F_1\left (1,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^2 b n}\\ \end{align*}
Mathematica [A] time = 0.0389247, size = 56, normalized size = 0.78 \[ \frac{x \left (\frac{d}{a+b x^n}-\frac{(a d+b c (n-1)) \, _2F_1\left (2,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^2}\right )}{b-b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.356, size = 0, normalized size = 0. \begin{align*} \int{\frac{c+d{x}^{n}}{ \left ( a+b{x}^{n} \right ) ^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\left (b c{\left (n - 1\right )} + a d\right )} \int \frac{1}{a b^{2} n x^{n} + a^{2} b n}\,{d x} + \frac{{\left (b c - a d\right )} x}{a b^{2} n x^{n} + a^{2} b n} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{d x^{n} + c}{b^{2} x^{2 \, n} + 2 \, a b x^{n} + a^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] time = 4.51472, size = 592, normalized size = 8.22 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d x^{n} + c}{{\left (b x^{n} + a\right )}^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]